﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Web.Generics;
using BolaoDNA.DomainModel;

namespace BolaoDNA.WebMvc.Areas.Admin.ViewModels
{
	public partial class PalpiteViewModel : GenericViewModel<Palpite>
	{
		public SelectList JogoList {
			get { return base.SelectLists["Jogo"]; }
			set { base.SelectLists["Jogo"] = value; }
		}
		public Int32 Jogo_ID {
            get { return base.Instance.Jogo.ID; }
            set { base.SelectListValues["Jogo"] = base.Instance.Jogo.ID = value; }
        }
		public SelectList InscricaoBolaoList {
			get { return base.SelectLists["InscricaoBolao"]; }
			set { base.SelectLists["InscricaoBolao"] = value; }
		}
		public Int32 InscricaoBolao_ID {
            get { return base.Instance.InscricaoBolao.ID; }
            set { base.SelectListValues["InscricaoBolao"] = base.Instance.InscricaoBolao.ID = value; }
        }
	}
}
